<!--{include file='admin/public/header.html'}-->
<!--编辑器JS-->
<link rel="stylesheet" href="view/admin/public/kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="view/admin/public/kindeditor/plugins/code/prettify.css" />
<script charset="utf-8" src="view/admin/public/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="view/admin/public/kindeditor/lang/zh_CN.js"></script>
<script charset="utf-8" src="view/admin/public/kindeditor/plugins/code/prettify.js"></script>
<!--编辑器給textarea赋值-->
<script>
	var editor1,editor2;
    KindEditor.ready(function(K) {
        editor1 = K.create('textarea[name="content"]', {
            cssPath : 'view/admin/public/kindeditor/plugins/code/prettify.css',
            uploadJson : 'view/admin/public/kindeditor/php/upload_json.php',
            fileManagerJson : 'view/admin/public/kindeditor/php/file_manager_json.php',
            allowFileManager : true
        });


        //prettyPrint();
    });
</script>

<script type="text/javascript">
$(function(){
	$("#form1").validationEngine();
});
</script>
        <div class="page-header">
          <h3 class="fl">增加内容</h3>
          <div class="user_message fr"><i class="icon-wrench"></i><a href="#">保存页面排序</a></div>
          <div class="cl"></div>
        </div>
        <form name="form1" id="form1" class="form-inline" action="" method="post">
       <table class="table set_table">
        	<thead>
            <tr>
              <th width="100" >功 能</th>
              <th >配 置</th>
              <th width="120">&nbsp;</th>
            </tr>
          </thead>
          <tbody>
            <tr>
              <td valign="middle">内容标题</td>
              <td>
              <input name="title" id="title" type="text" class="span4 validate[required]" />
              <td>
              </td>
            </tr>
            <tr>
              <td valign="middle">短连接</td>
              <td>
              <input name="shortname" id="shortname" type="text" class="span4 validate[required]" />
              <td>
              </td>
            </tr>
            <tr class="selected_4">
              <td valign="middle">内容</td>
              <td><textarea name="content" cols="" rows="20" class="span9"></textarea></td>
              <td>
              </td>
            </tr>
          </tbody>
        </table>
        

		<p class="border_top"><button type="submit" class="btn btn-primary btn-small input-small">添加</button> </p>
		</form>
        <div class="copyright"></div>

 <!--{include file='admin/public/footer.html'}-->
